set(BIN_NAME test)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

find_package(OpenSSL COMPONENTS Crypto REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fpermissive")
add_executable(${BIN_NAME} main.cpp)
target_link_libraries(${BIN_NAME} OpenSSL::Crypto)